//
//  Record.h
//  IconPair
//
//  Created by Yangss on 2010-6-26.
//  Copyright 2010 LotusVille. All rights reserved.

#define kRecordName @"LVIconPairRecordName"
#define kRecordScore @"LVIconPairRecordScore"
#define kRecordLevel @"LVIconPairRecordLevel"

#define kMaxRecordCount 5	//最大记录数
#import "User.h"
@interface Record : NSObject {
	NSString *name;
	int score;
	int level;
}
@property (nonatomic, retain) NSString *name;
@property (nonatomic, assign) int score;
@property (nonatomic, assign) int level;


+(int) trySaveScoreRecord: (Record *) newRecord;
+(void) tryClearScoreRecord;

+(NSArray *) getHighScores;
+(Record *) createCurrentRecord;
@end
